package com.ruoyi.dynamic.domain;

import com.ruoyi.comment.domain.PwComment;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 发现管理对象 pw_dynamic
 * 
 * @author ruoyi
 * @date 2025-07-29
 */
@Data
public class PwDynamic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 关联用户id */
    @Excel(name = "关联用户id")
    private Long userId;

    /** 动态内容 */
    @Excel(name = "动态内容")
    private String content;

    /** 视频地址或者用逗号拼接的多个图片地址 */
    @Excel(name = "视频地址或者用逗号拼接的多个图片地址")
    private String url;

    /** 点赞数量 */
    @Excel(name = "点赞数量")
    private Long likeNumber;

    /** 评论数量 */
    @Excel(name = "评论数量")
    private Long commentNumber;

    /** 1-待审核 2-上线中3-已下线 */
    @Excel(name = "1-待审核 2-上线中3-已下线")
    private Long status;


    //以下均为返回字段
    /**评论列表 */
    private List<PwComment> commentList;

}
